import request from '@/utils/request'

// 查询会议室信息列表
export function listMeetingroom(query) {
  return request({
    url: '/day/meetingroom/list',
    method: 'get',
    params: query
  })
}

// 查询会议室信息详细
export function getMeetingroom(id) {
  return request({
    url: '/day/meetingroom/' + id,
    method: 'get'
  })
}

// 新增会议室信息
export function addMeetingroom(data) {
  return request({
    url: '/day/meetingroom',
    method: 'post',
    data: data
  })
}

// 修改会议室信息
export function updateMeetingroom(data) {
  return request({
    url: '/day/meetingroom',
    method: 'put',
    data: data
  })
}


// 删除会议室信息
export function delMeetingroom(id) {
  return request({
    url: '/day/meetingroom/' + id,
    method: 'delete'
  })
  
}

